package gravity
{
    import flash.display.Sprite;

    public class Box extends Sprite
    {
        public var upDown:Boolean = true;

        public function Box()
        {
            super();

            var color:uint = int(Math.random() * 16777215);
            var size:int = int(Math.random() * 10) + 1;

            this.graphics.beginFill(color);
            this.graphics.drawCircle(size, size, size);
            this.graphics.endFill();
        }
    }
}